package com.hao.study.service;


import com.github.pagehelper.PageInfo;
import com.hao.study.entity.Thing;

import java.util.List;

public interface ThingService {

    PageInfo<Thing> getThingList(Integer pageNum, Integer pageSize, String keyword, String sort, String classification, String tag);

    Thing getThingById(String id);

    void createThing(Thing thing);

    void deleteThing(String id);

    void updateThing(Thing thing);

    List<Thing> getUserThing(String userId);
}
